<?php

/**
 * Client wrapper to allow login
 * @package Nina
 * @author John Main <john@thedaddy.org>
 */
class Nina_Client extends Nina_User_Base
{
	/**
	 * Constructor
	 */
	public function __construct() {
		parent::__construct(false);
	}

	/**
	 * Login to the site
	 * @param sting $username
	 * @param string $password
	 * @return boolean
	 */
	public function login($username, $password) {
		return $this->clientLogin($username, $password);
	}

	/**
	 * Return the db client model
	 * @return Client
	 */
	public function getClientModel() {
		return $this->getObjModel();
	}
}
